package entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (ChatMessage)实体类
 *
 * @author makejava
 * @since 2023-03-27 15:42:29
 */
public class ChatMessage implements Serializable {
    private static final long serialVersionUID = -50316075907695147L;
    
    private Integer messageId;
    
    private Integer linkId;
    
    private Integer fromId;
    
    private Integer toId;
    
    private String content;
    
    private Date sendTime;
    
    private Integer type;
    
    private Integer isLastest;


    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Integer getLinkId() {
        return linkId;
    }

    public void setLinkId(Integer linkId) {
        this.linkId = linkId;
    }

    public Integer getFromId() {
        return fromId;
    }

    public void setFromId(Integer fromId) {
        this.fromId = fromId;
    }

    public Integer getToId() {
        return toId;
    }

    public void setToId(Integer toId) {
        this.toId = toId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsLastest() {
        return isLastest;
    }

    public void setIsLastest(Integer isLastest) {
        this.isLastest = isLastest;
    }

}

